<div>
    <div class="action-bar">
        <div class="form-inline">
            <div class="form-group">
                <label>提现状态</label>
                <select ng-model="param.status" class="form-control">
                    <option value="">全部</option>
                    <option value="0">提现申请</option>
                    <option value="1">提现成功</option>
                    <option value="2">提现失败</option>
                    <option value="3">确认提现</option>
                </select>
            </div>
            <button type="submit" class="btn btn-default" ng-click="search()">搜索</button>
        </div>
    </div>
    <div class="table-responsive">
        <table class="table">
            <tr>
                <th>用户名称</th>
                <th>提现金额</th>
                <th>提现状态</th>
                <th>申请时间</th>
                <th>操作</th>
            </tr>
            <tr ng-repeat="data in result.list">
                <td>{{data.user.trueName}}</td>
                <td>{{data.money}}</td>
                <td>{{data.status | CashState}}</td>
                <td>{{data.createTime|date:'yyyy-MM-dd HH:ss:mm'}}</td>
                <td>
                    <a href="javascript:" ng-if="data.status == 0" ng-click="toHandle(data)">处理</a>
                    <a href="javascript:" ng-click="toDetail(data)">详情</a>
                </td>
            </tr>
            <tr ng-if="result.list.length == 0">
                <td class="text-center" colspan="4">没有数据</td>
            </tr>
        </table>
        <div class="pagination-bar" ng-if="result.list.length > 0">
            <uib-pagination
                    total-items="result.page.totalData"
                    ng-model="result.page.currentNo"
                    max-size="2"
                    items-per-page="result.page.everyPage"
                    first-text="第一页"
                    previous-text="上一页"
                    next-text="下一页"
                    last-text="最后页"
                    boundary-links="true"
                    boundary-link-numbers="true"
                    ng-model="result.page.currentNo"
                    ng-change="onPageChange()"
            ></uib-pagination>
        </div>

    </div>
</div>
